package com.zzyl.nursing.vo;

import com.zzyl.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel(value = "树形结构Vo")
@Data
public class TreeVo extends BaseEntity {

    @ApiModelProperty(value = "菜单ID")
    private String value;

    @ApiModelProperty(value = "菜单名称")
    private String label;

    @ApiModelProperty(value = "子菜单")
    private List<TreeVo> children;
}
